/**
 * =================================================================
 * 版权所有 2011-2020 泰海网络支付服务有限公司，并保留所有权利
 * -----------------------------------------------------------------
 * 这不是一个自由软件！您不能在任何未经允许的前提下对程序代码进行修改和使用；
 * 不允许对程序代码以任何形式任何目的的再发布
 * =================================================================
 */
package com.sfpay.coreplatform.order.common;

/**
 * 
 * 类说明：
 * 通用产品层常量类 
 * 
 * <p>
 * 详细描述：
 *   
 * 
 * @author 312932
 *   
 * CreateDate: 2012-2-21
 */
public class Constants {
	
	public static final String YES = "Y";
	public static final String NO = "N";
	
	public static final String YES_NUM = "1";
	public static final String NO_NUM = "0";
	
	public static final int MOBILE_PHONE_LENGTH = 11;  //移动电话长度
	
	public static final long HUNDRED = 100L;   // 一百
	
	public static final Long PREF = 10L;   //优惠额度，百分比%	
	public static final String CCY = "RMB";    			//默认交易币种
	public static final String SFP = "SFP";    			//积分，虚拟卡积分
	public static final String PREF_RULE_CODE = "1";   	//默认优惠规则编号，送10%的交易金额到会员的虚拟号赠送账户中
	public static final Long EXCHANGE_RATE = 100L;			//默认交易汇率为100(单位：%)
	public static final Long FEE = 0L;						//默认手续费用为0
	public static final String PREF_FLAG = "0";			//默认优惠标识为0（不是优惠交易订单）
	
	public static final String MEMBER_PAY_QUERY_FLAG="PAY-COMP"; //支付公司会员 查询标识
	public static final String MEMBER_SFEXPRESS_QUERY_FLAG="SFEXPRESS-COMP"; //顺丰会员 查询标识
	
	public static final String MEMBER_FLAG = "member";    						//会员标志
	public static final String MEMBER_CARD_FLAG = "memberCard";    				//会员-储值卡标志
	public static final String ACCOUNT_DEFAULT_FLAG = "acctDefault";   			//普通会员默认账户标志
	public static final String ACCOUNT_PREF_FLAG = "acctPref";    				//普通会员赠送账户标志
	public static final String RECE_ACCOUNT_DEFAULT_FLAG = "receAcctDefault";   //商户会员收款默认账户标志
	public static final String RECE_ACCOUNT_PREF_FLAG = "receAcctPref";    		//商户会员收款赠送账户标志
	public static final String PAY_ACCOUNT_DEFAULT_FLAG = "payAcctDefault";     //商户会员付款默认账户标志
	public static final String PAY_ACCOUNT_PREF_FLAG = "payAcctPref";    		//商户会员付款赠送账户标志
	
	
	public static final String MAXIMUM_LIMIT_OF_THE_REAL_NAME_CARD = "realMaxAmount";  //实名卡最大限额
	public static final String MAXIMUM_LIMIT_OF_THE_NON_REAL_NAME_CARD = "unRealMaxAmount";  //非实名卡最大限额
	
	
	public static final String ACCOUNT_TYPE_FOR_FUND="01"; //资金账户
	public static final String ACCOUNT_TYPE_FOR_JF="03"; //积分账户
	
	public static final Long ACCOUNT_TYPE_NO_FOR_101=101L; //账户类型编号:可付-人民币-一般户-不可透支-可提现
	public static final Long ACCOUNT_TYPE_NO_FOR_102=102L; //账户类型编号:可付-积分-赠送户-不可透支-不可提现
	public static final String ACCOUNT_NAME_FOR_101="人民币账户";
	public static final String ACCOUNT_NAME_FOR_102="积分账户";
	
	public static final String ACCOUNT_TALLY_FAILURE = "账户记账失败";
	public static final String ACQUIRER_REQUEST_FAILURE = "收单请求失败";
	public static final String ACQUIRER_FAILURE = "收单失败";
	public static final String RMS_REALTIME_AUDIT_FAILURE = "风控实时审核不通过";
	
	/**
	 * 营销系统赠送业务场景定义
	 */
	public static final String MMS_CODE_OPEN = "OPEN";  				// 开卡
	public static final String MMS_CODE_RECHARGE = "RECHARGE";  		// 充值
	public static final String MMS_CODE_AFTERWARDS = "AFTERWARDS";  	// 事后
	public static final String MMS_CODE_REDEEM = "REDEEM";  			// 赎回
	public static final String MMS_CODE_MONEYSPEND = "MONEYSPEND";  	// 本金消费
	public static final String MMS_CODE_SCORINGSPEND = "SCORINGSPEND";  // 积分消费
	public static final String MMS_MSG_ALIAS = "MessageInto";  			// 消息别名
	  
	
	/**
	 * 网银充值
	 */
	public static final Long CASH_AMOUNT_MAX = 500000L;					//储值卡本金允许最大余额
	
	public static final String LARGEST_AMOUNT_OF_SINGLE_RECHARGE_REGISTERED = "largestAmountOfSingleRecharge"; //单笔充值登记最大金额
	
	public static final String ORG_CITY_SFD = "SFD";   // 顺丰站机构信息城市标识
	public static final short ORG_CODE_TYPE_SFD = 5;   // 顺丰站机构信息机构类型
	
	public static final String DBYS_ORG_BLACK_LIST_KEY = "dbysOrgBlackList";  // 多巴一输黑名单机构配置信息key
	
	// 运单比对时间区间（格式YY24:MI）不能消费撤销、作废（开始时间、结束时间）
	public static final String WAYBILL_COMPARE_START_TIME = "waybillCompareStartTime";
	public static final String WAYBILL_COMPARE_END_TIME = "waybillCompareEndTime";
	
	/** 充值实时生效试点机构列表**/
	public static final String RECHARGE_EFFECT_IMMEDIATELY_ORGCODES = "rechargeEffectImmediatelyOrgCodes";
	/** 充值实时生效时全网生效的配置值**/
	public static final String SF_All_ORGS = "SF_All_ORGS";
}
